#ifndef BASEOBJECT_H_
#define BASEOBJECT_H_

#include "../Config.h"

enum TYPE
{
	OBJ_UNKNOWN = -1,
	OBJ_PRACTICE
};

class CBaseObject
{
private:
	TYPE m_nType;
	D3DXMATRIX m_Frame;
	bool m_bInUse;

public:
	CBaseObject()
	{
		SetObject();
	}
	virtual ~CBaseObject(){}

	TYPE GetType( void ) const  { return m_nType; }
	D3DXMATRIX GetOrientation( void ) const { return m_Frame; }

	void SetObject()
	{
		m_nType = OBJ_PRACTICE;
		D3DXMatrixIdentity(&m_Frame);
		m_bInUse = false;
	}
	
	const bool GetInUse(){return m_bInUse;}
	void SetInUse(bool bUse)
	{
		m_bInUse = bUse;
	}
};

#endif
